package com.chen.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chen.admin.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface UserMapper extends BaseMapper<User> {


     List getUserPage();

     int addUser(User user);

     User getUserByName(@Param("userName") String userName);

     int editUserInfo(User user,@Param("id")Integer id);
}
